package com.bluestarenergy.party.sample.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bluestarenergy.party.sample.dao.PartyDAO;
import com.bluestarenergy.party.sample.domain.Country;
import com.bluestarenergy.party.sample.domain.Department;
import com.bluestarenergy.party.sample.domain.Hub;
import com.bluestarenergy.party.sample.domain.Person;

@Service("partyService")
public class PartyServiceImpl implements PartyService{

	@Autowired
	private PartyDAO partyDAO;
	
	public List<Hub> findHubs() {
		return partyDAO.findHubs();
	}

	public List<Person> findPeople() {
		return partyDAO.findPeople();
	}

	public List<Country> findCountries() {
		return partyDAO.findCountries();
	}

	public List<Department> findDepartments() {
		return partyDAO.findDepartments();
	}
	
}
